package com.gui.mianshiya.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Title: collections
 * @Author quit
 * @Package com.gui.mianshiya.model.entity
 * @Date 2025/4/21 13:49
 * @description: 收藏表
 */
@Data
@TableName(value ="collections")
public class WishCollection {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 题目id
     */
    private Long questionId;



    /**
     * 创建时间
     */
    private Date createTime;


    /**
     * 是否删除
     */

    private Integer isFlag;}
